Struct isotope::prelude::VarFilter[][src]

pub struct VarFilter { /* fields omitted */ }
Expand description

A filter for variables

Implementations

A filter with no indices set

The index to check when shifting down

Rather than implementing this manually, you should use shift_down_value.

The index to set when a dependency check performed while shifting down returns true

Rather than implementing this manually, you should use shift_down_value.

Get whether two indices are equivalent or equal

Get this filter with an index set as a dependency

Get a filter with a single index set

Get a filter with all indices below ix and above base set

Get whether this filter is exact

Get whether a filter contains an index in the given equivalence class, and an index greater than or equal to ix

Get whether a filter may contain an index base <= index <= ix

Get whether this filter may contain any of the len indices after base.

Get whether a filter contains an index in the given equivalence class

Set an index as a dependency

Get whether this filter is empty

Get the minimum number of indices in this filter

Shift this filter down one level, and return it along with whether the top index must be re-checked

Shift this filter down one level, automatically performing necessary checks

Get the union of this filter set with another

Get the intersection of this filter set with another

Get the free variable bound of this filter

Trait Implementations

The resulting type after applying the & operator.

Performs the & operation. Read more

Performs the &= operation. Read more

The resulting type after applying the | operator.

Performs the | operation. Read more

Performs the |= operation. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

The returned type after indexing.

Performs the indexing (container[index]) operation. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Borrow an optional value of type T

Hash this using a given hasher

Compare self to key and return true if they are equal.

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.